<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_id" data-rule="required" data-source="product/product/index" data-params='{"custom[deploy_type]":"1"}' data-field="title" class="form-control selectpage" name="row[product_id]" type="text" value="{$row.product_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hexin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hexin" data-rule="required" class="form-control" name="row[hexin]" type="text" value="{$row.hexin|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xiancheng')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xiancheng" data-rule="required" class="form-control" name="row[xiancheng]" type="text" value="{$row.xiancheng|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xilie')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xilie" data-rule="required" class="form-control" name="row[xilie]" type="text" value="{$row.xilie|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhicheng')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhicheng" data-rule="required" class="form-control" name="row[zhicheng]" type="text" value="{$row.zhicheng|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fan" data-rule="required" class="form-control" name="row[fan]" type="text" value="{$row.fan|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pinpai')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pinpai" data-rule="required" class="form-control" name="row[pinpai]" type="text" value="{$row.pinpai|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhuban')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhuban"  class="form-control" name="row[zhuban]" type="text" value="{$row.zhuban|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jiekou')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jiekou" data-rule="required" class="form-control" name="row[jiekou]" type="text" value="{$row.jiekou|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hexian')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hexian" data-rule="required" class="form-control" name="row[hexian]" type="text" value="{$row.hexian|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Erji')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-erji" data-rule="required" class="form-control" name="row[erji]" type="text" value="{$row.erji|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhupin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhupin" data-rule="required" class="form-control" name="row[zhupin]" type="text" value="{$row.zhupin|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jiasu')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jiasu" data-rule="required" class="form-control" name="row[jiasu]" type="text" value="{$row.jiasu|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sanji')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sanji" data-rule="required" class="form-control" name="row[sanji]" type="text" value="{$row.sanji|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-img" data-rule="required" class="form-control" size="50" name="row[img]" type="text" value="{$row.img|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-img" class="btn btn-danger faupload" data-input-id="c-img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-img"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-img" class="btn btn-primary fachoose" data-input-id="c-img" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-img"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-img"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
